package com.petAdoption.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王倩茹
 * @since 2023-08-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品编号
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品类别
     */
    private Integer productCategory;

    private Integer productType;

    /**
     * 商品图片
     */
    private String productImg;

    /**
     * 商品价格
     */
    private BigDecimal productPrice;

    /**
     * 商品详情
     */
    private String productDetails;

    private Integer productSwipe;

    private String productDescr;

    private Integer productDelete;

}
